<!--{eval
    $links = G('hook')->hook('mobile_subject_link', $subject, TRUE);
}-->
<div class="panel-comm panel-fullsize panel-mycolor item-subject">
	<div class="panel-heading">
		<h3 class="center">$fullname</h3>
	</div>
    <ul class="nav-group">
    		<a class="nav-group-item" href="{url item/mobile/do/detail/id/$subject[sid]}"><span{if $subject_link_flag=='index'} class="active"{/if}>首页</span></a>
        <!--{loop $links $link}-->
    		<a class="nav-group-item" href="$link[url]"><span{if $subject_link_flag==$link[flag]} class="active"{/if}>$link[title]</span></a>
        <!--{/loop}-->
    </ul>
    <script>$('.nav-group > a:gt(3)').hide();</script>
</div>
<script>
$(document).ready(function() {
	$('.nav-group').m_navGroup();
});
</script>